package com.newsee.remote.common.database.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author liangzhichen
 * @since 2019-07-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("Commerce_Colipu_Sku_Detail")
public class CommerceColipuSkuDetail extends Model<CommerceColipuSkuDetail> {

    private static final long serialVersionUID = 1L;

    @TableField(exist = false)
    private Long id;

    @TableId("SkuId")
    private String SkuId;

    @TableField("CategoryId")
    private String CategoryId;

    @TableField("CategoryName")
    private String CategoryName;

    @TableField("Url")
    private String Url;

    @TableField("Model")
    private String Model;

    @TableField("Weight")
    private String Weight;

    @TableField("ImagePath")
    private String ImagePath;

    @TableField("BrandName")
    private String BrandName;

    @TableField("Name")
    private String Name;

    @TableField("ProductArea")
    private String ProductArea;

    @TableField("Upc")
    private String Upc;

    @TableField("Unit")
    private String Unit;

    @TableField("Service")
    private String Service;

    @TableField("State")
    private Integer State;

    @TableField("TaxRate")
    private Double TaxRate;

    @TableField("Price")
    private Double Price;

    @TableField("MallPrice")
    private Double MallPrice;

    @TableField("MarketPrice")
    private Double MarketPrice;

    @TableField("MaterialId")
    private Long MaterialId;

    @TableField("CreateTime")
    private LocalDateTime CreateTime;

    @TableField("UpdateTime")
    private LocalDateTime UpdateTime;

    @TableField("DeleteFlag")
    private Integer DeleteFlag;


    @Override
    protected Serializable pkVal() {
        return this.SkuId;
    }

}
